<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo ((isset($article["title"]) && ($article["title"] !== ""))?($article["title"]):"MycentOS"); ?>_MycentOS blog记录点滴生活</title>
<meta name="keywords" content="<?php echo ((isset($article["keyword"]) && ($article["keyword"] !== ""))?($article["keyword"]):"MycentOS blog"); ?>,MycentOS , MycentOS blog记录点滴生活,mycentos,CENTOS,APACHE,PHP,MYSQL,THINKPHP,DEDECMS," />
<meta name="<?php echo ((isset($article["description"]) && ($article["description"] !== ""))?($article["description"]):"MycentOS"); ?>,MycentOS记录点滴生活,琥珀专注于php开发,linux运维blog.Email:317559272@qq.com.大道至简开发由我!" />
<!-- Bootstrap -->
<link href="/Public/Home/css/bootstrap.css" rel="stylesheet">
<link href="/Public/Home/css/mycentos.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/Public/Home/js/bootstrap.min.js"></script>
</head>
<body class="main-body">
    <!-- 头部 -->
    <header class="main-header">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <!-- start logo -->
                <a class="logo" href="http://www.mycentos.com" title="Mycentos"><img src="/Public/Home/images/logo.png" alt="Mycentos 琥珀"></a>
                <!-- end logo -->
                <h2 class="text-hide">MycentOS记录点滴生活,琥珀专注于php开发,linux运维blog.Email:317559272@qq.com.大道至简开发由我!</h2>
            </div>
        </div>
    </div>
</header>
<nav class="navbar navbar-default navbar--top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">MyCentos</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li>
                    <a href="/">首页</a>
                </li>
                 <?php echo W('Nav/nav');?>
            </ul>
            <form action="<?php echo U('Search/index');?>" method="post" class="navbar-form navbar-right" role="search">
                <div class="form-group">
                    <input type="text" name="keyword"class="form-control" placeholder="Search">
                </div>
                <button type="submit" class="btn btn-default">搜索</button>
            </form>
        </div>
    </div>
</nav>
    <!-- /头部 -->
    
    <!-- 主体 -->
    

<div class="container">
    <div class="row">
        <?php if(is_array($article)): $i = 0; $__LIST__ = $article;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?><div class="col-md-6 ">
            <div class="panel panel-default list">
                <div class="panel-title list-title">
                    <h3> <a href="<?php echo U('Article/index',array('id'=>$list['id']));?>" ><?php echo ($list["title"]); ?></a></h3>
                    <span><b>作者:<?php echo ($list["author"]); ?></b><b>时间:<?php echo (date("Y-m-d",$list["addtime"])); ?></b></span>
                </div>
                <div class="panel-body">
                    <p><?php echo (substr($list["description"],0,90)); ?></p>
                    <a href="<?php echo U('Article/index',array('id'=>$list['id']));?>" class="btn btn-mycentos" role="button">阅读全文</a>
                </div>
                <div class="panel-footer list-bt">
                    <i class="glyphicon glyphicon-tag"></i>
                    <a href="">PHP</a>
                    <a href="">PHPER</a>
                    <a href="">THINKPHP</a>
                </div>
            </div>
        </div><?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
    <nav>
        <ul class="pagination pagination-lg pages">
            <?php echo ($page); ?>
        </ul>
    </nav>
</div>

    <!-- /主体 -->

    <!-- 底部 -->
    <footer>
    <div class="container">
        <div class="row">
            <div class="col-md-7 col-sm-12">
                <h3 class="footer-title">MYCENTOS</h3>
                <p>MycentOS记录点滴生活,专注于php开发,linux blog.Email:317559272@qq.com.大道至简开发由我!
                <a href="http://www.mycentos.com/" target="_blank">www.mycentos.com</a>
                <a href="http://www.120crm.com/" target="_blank">www.120crm.com</a>
                </p>
                <p>Author:琥珀</p>
                <p>QQ:317559272</p>
                <p>TEL:18503057610</p>
                <p>Email:317559272@qq.com</p>
            </div>
            <div class="col-md-5 col-sm-12">
                <div class="footer-banner">
                    <h3 class="footer-title">合作伙伴</h3>
                    <ul>
                        <li>预约挂号管理系统:www.120CRM</li>
                        <li>琥珀blog:www.mycentos.com</li>
                        <li>www.tocentos.com</li>
                        <li>thinkphp</li>
                        <li>www.b-jui.com</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</footer>
<div class="copyright">
    <div class="container">
        <div class="row">
            <div class="col-m-12">
                <span>Copyright © Mycentos blog</span>|<span>备案号:<a href="#">123456789</a></span>
            </div>
        </div>
    </div>
</div>
    <!-- /底部 -->
</body>
</html>